package com.example.Less.service;

import com.example.Less.entity.PageResponse;
import com.example.Less.entity.Project;
import com.example.Less.entity.ProjectQuery;

import java.util.List;

public interface ProjectService {
    Project saveProject(Project project);
    Project getProjectById(Integer id);
    List<Project> getAllProjects();
    Project updateProject(Project project);
    void deleteProject(Integer id);
    PageResponse<Project> searchProjects(ProjectQuery query);

}